using UnityEngine;

namespace Game.Component
{
	public class ColliderData
	{
		public Collider2D coll;

		public BaseItem item;

		public ItemComponentTrigger trigger;

		public ColliderData(Collider2D coll, BaseItem item)
		{
			this.coll = coll;
			this.item = item;
		}

		public ColliderData(Collider2D coll, ItemComponentTrigger trigger)
		{
			this.coll = coll;
			this.trigger = trigger;
			item = this.trigger.owner;
		}
	}
}
